export default {
  getRandomId() {
    const timestamp = new Date().getTime();
    const randomNum = Math.round(Math.random() * 1000000);
    const result = timestamp + "&" + randomNum;
    return result;
  },
};


export function getUniqueId() {
  return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
}